package com.castle.fortress.admin.cms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * cms轮播图管理表 实体类
 *
 * @author castle
 * @since 2022-02-24
 */
@Data
@TableName("cms_banner")
public class CmsBannerEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * pc图片
	*/
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String pcImage;
	/**
	 * app图片
	*/
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String appImage;
	/**
	 * 跳转链接
	*/
	private String url;
	/**
	 * 标签
	*/
	private String tags;
	/**
	 * 排序
	*/
	private Integer sort;
	/**
	 * 修改人
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long updateUser;
	/**
	 * 修改时间
	*/
	private Date updateTime;

}
